#pragma once
#include "mtpMessage.h"
#include "operatorResponse.h"

class OpResMessage : public MtpMessage
{
public:
	OpResMessage(MtpProtocol* packet);
	OpResMessage(const bool& success, MtpMessage* src);
	OpResMessage(const bool& success,const String& message, MtpMessage* src);
	OpResMessage(const bool& success, const String& message, const int& version,const uint32_t& commandId);
	virtual void decodeBody();
	virtual void encodeBody();
private:
	OperatorResponse opRes;
};

